package com.atxwq.shop.pay.mapper;

import com.atxwq.shop.model.entity.pay.PaymentInfo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface PaymentInfoMapper {

    /**
     * 根据订单号查询支付信息
     * @param orderNo
     * @return
     */
    PaymentInfo getByOrderNo(String orderNo);

    /**
     * 保存支付信息
     * @param paymentInfo
     */
    void save(PaymentInfo paymentInfo);
}
